//
//  MTLiveProfileView.h
//  MeToo
//
//  Created by 俊松何 on 2018/7/19.
//  Copyright © 2018年 tianxie. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MTLiveProfileViewDelegate <NSObject>

-(void)mtLiveProfileViewAtUser:(LTUser *)user;
-(void)mtLiveProfileViewGoUserHomeUser:(LTUser *)user;

-(void)mtLiveProfileViewSetMamnager:(LTUser *)user;
-(void)mtLiveProfileViewCancelMamnager:(LTUser *)user;
-(void)mtLiveProfileViewMite:(LTUser *)user;
-(void)mtLiveProfileViewCnacelMite:(LTUser *)user;
-(void)mtLiveProfileViewblack:(LTUser *)user;


-(void)mtLiveProfileViewFocusHost;

@end

@interface MTLiveProfileView : UIView

@property(nonatomic,weak) id<MTLiveProfileViewDelegate> delegate;

+(instancetype)liveProfileView;

-(void)show;

-(void)showView:(UIView *)view;

@property(nonatomic,strong) LTUser *user;

@property(nonatomic,weak) UIViewController *targetVc;


//判断时候是主播
@property(nonatomic,assign) BOOL ishost;

//主播UserId
@property(nonatomic,copy) NSString *masterUserId;

//直播Id
@property(nonatomic,copy) NSString *liveId;

@end
